package admin

type Config struct {
	Server struct {
		Addr  string `yaml:"addr"`
		Logo  string `yaml:"logo"`
		Title string `yaml:"title"`
		Index string `yaml:"index"`
	} `yaml:"server"`
	Template struct {
		Html   string `yml:"html"`
		Static string `yml:"static"`
	} `yaml:"template"`
	Jwt struct {
		Secret string `yaml:"secret"`
		Expire int    `yaml:"expire"`
	} `yml:"jwt"`
	DB DBConfig `yml:"db"`
}

type DBConfig struct {
	DbType string `yaml:"dbType"`
	Dsn    string `yaml:"dsn"`
}
